function DirectOrder(params){ 
	 
}

DirectOrder.Where = function(type,proxy){
	this.type = type;
	this.proxy=proxy;
	this.linked = null;
	this.set = null;
	if(this.type==0){
		this.set = new DirectOrder.Where(1,true);
		this.set.linked = this;
	}
	this.getProxy = function(){
		var m = new DirectOrder.Where(this.type);//当前的对像
		if(this.type==0){
			m.set = new DirectOrder.Where(1,true);//set对象
			m.set.linked = m;
		}else{
			m.linked=this.linked;
			this.linked.linked=m;
		}
		return m;
	}
	this.data = {};
	this.put = function(key,value){
		this.data[key] = value;
	}
	this.get = function(key){
		return this.data[key];
	}
	
	
	/** 编号 [非空]       **/
	this.id=function(id){if(this.proxy)return this.getProxy().id(id);  this.put("id", id);return this;};
	/** and id is null */
	this.idNull=function(){if(this.proxy)return this.getProxy().idNull();if(this.get("idNot")==null)this.put("idNot", "");this.put("id", null);return this;};
	/** not .... */
	this.idNot=function(){if(this.proxy)return this.getProxy().idNot();this.put("idNot", "not");return this;};
	this.idNotNull=function(){if(this.proxy)return this.getProxy().idNotNull();this.put("idNot", "not");this.put("id", null);return this;};
	this.idNot=function(id){if(this.proxy)return this.getProxy().idNot(id);this.put("idNot", "not");this.put("id", id);return this;};
		
	/** and id <= ? */
	this.idMin=function(min){if(this.proxy)return this.getProxy().idMin(min);this.put("idMin", min);return this;};
	/** and id >= ? */
	this.idMax=function(max){if(this.proxy)return this.getProxy().idMax(max);this.put("idMax", max);return this;};
		
		
	this.idIn=function(ids){
		if(this.proxy)return this.getProxy().idIn(ids);  this.put("idIn", ids);return this;
	};	
		 
	
	
	/** 订单号 [非空]       **/
	this.no=function(no){if(this.proxy)return this.getProxy().no(no);  this.put("no", no);return this;};
	/** and no is null */
	this.noNull=function(){if(this.proxy)return this.getProxy().noNull();if(this.get("noNot")==null)this.put("noNot", "");this.put("no", null);return this;};
	/** not .... */
	this.noNot=function(){if(this.proxy)return this.getProxy().noNot();this.put("noNot", "not");return this;};
	this.noNotNull=function(){if(this.proxy)return this.getProxy().noNotNull();this.put("noNot", "not");this.put("no", null);return this;};
	this.noNot=function(no){if(this.proxy)return this.getProxy().noNot(no);this.put("noNot", "not");this.put("no", no);return this;};
		
		 
	
	
	/** 品牌商  [Merchant]      **/
	this.merchant=function(merchant){if(this.proxy)return this.getProxy().merchant(merchant);  this.put("merchant", merchant);return this;};
	/** and merchant is null */
	this.merchantNull=function(){if(this.proxy)return this.getProxy().merchantNull();if(this.get("merchantNot")==null)this.put("merchantNot", "");this.put("merchant", null);return this;};
	/** not .... */
	this.merchantNot=function(){if(this.proxy)return this.getProxy().merchantNot();this.put("merchantNot", "not");return this;};
	this.merchantNotNull=function(){if(this.proxy)return this.getProxy().merchantNotNull();this.put("merchantNot", "not");this.put("merchant", null);return this;};
	this.merchantNot=function(merchant){if(this.proxy)return this.getProxy().merchantNot(merchant);this.put("merchantNot", "not");this.put("merchant", merchant);return this;};
		
		
	this.merchantIn=function(ids){
		if(this.proxy)return this.getProxy().merchantIn(ids);  this.put("merchantIn", ids);return this;
	};	
		 
	
	
	/** 经销商        **/
	this.jxs=function(jxs){if(this.proxy)return this.getProxy().jxs(jxs);  this.put("jxs", jxs);return this;};
	/** and jxs is null */
	this.jxsNull=function(){if(this.proxy)return this.getProxy().jxsNull();if(this.get("jxsNot")==null)this.put("jxsNot", "");this.put("jxs", null);return this;};
	/** not .... */
	this.jxsNot=function(){if(this.proxy)return this.getProxy().jxsNot();this.put("jxsNot", "not");return this;};
	this.jxsNotNull=function(){if(this.proxy)return this.getProxy().jxsNotNull();this.put("jxsNot", "not");this.put("jxs", null);return this;};
	this.jxsNot=function(jxs){if(this.proxy)return this.getProxy().jxsNot(jxs);this.put("jxsNot", "not");this.put("jxs", jxs);return this;};
		
		 
	
	
	/** 订单类型    1:直接购买订单 2:余额提货订单     **/
	this.orderType=function(orderType){if(this.proxy)return this.getProxy().orderType(orderType);  this.put("orderType", orderType);return this;};
	/** and order_type is null */
	this.orderTypeNull=function(){if(this.proxy)return this.getProxy().orderTypeNull();if(this.get("orderTypeNot")==null)this.put("orderTypeNot", "");this.put("orderType", null);return this;};
	/** not .... */
	this.orderTypeNot=function(){if(this.proxy)return this.getProxy().orderTypeNot();this.put("orderTypeNot", "not");return this;};
	this.orderTypeNotNull=function(){if(this.proxy)return this.getProxy().orderTypeNotNull();this.put("orderTypeNot", "not");this.put("orderType", null);return this;};
	this.orderTypeNot=function(orderType){if(this.proxy)return this.getProxy().orderTypeNot(orderType);this.put("orderTypeNot", "not");this.put("orderType", orderType);return this;};
		
		
	this.orderTypeIn=function(ids){
		if(this.proxy)return this.getProxy().orderTypeIn(ids);  this.put("orderTypeIn", ids);return this;
	};	
		 
	
	
	/** 用户编号 [非空]       **/
	this.uid=function(uid){if(this.proxy)return this.getProxy().uid(uid);  this.put("uid", uid);return this;};
	/** and uid is null */
	this.uidNull=function(){if(this.proxy)return this.getProxy().uidNull();if(this.get("uidNot")==null)this.put("uidNot", "");this.put("uid", null);return this;};
	/** not .... */
	this.uidNot=function(){if(this.proxy)return this.getProxy().uidNot();this.put("uidNot", "not");return this;};
	this.uidNotNull=function(){if(this.proxy)return this.getProxy().uidNotNull();this.put("uidNot", "not");this.put("uid", null);return this;};
	this.uidNot=function(uid){if(this.proxy)return this.getProxy().uidNot(uid);this.put("uidNot", "not");this.put("uid", uid);return this;};
		
	/** and uid <= ? */
	this.uidMin=function(min){if(this.proxy)return this.getProxy().uidMin(min);this.put("uidMin", min);return this;};
	/** and uid >= ? */
	this.uidMax=function(max){if(this.proxy)return this.getProxy().uidMax(max);this.put("uidMax", max);return this;};
		
		
	this.uidIn=function(ids){
		if(this.proxy)return this.getProxy().uidIn(ids);  this.put("uidIn", ids);return this;
	};	
		 
	
	
	/** 下单人        **/
	this.memberName=function(memberName){if(this.proxy)return this.getProxy().memberName(memberName);  this.put("memberName", memberName);return this;};
	/** and member_name is null */
	this.memberNameNull=function(){if(this.proxy)return this.getProxy().memberNameNull();if(this.get("memberNameNot")==null)this.put("memberNameNot", "");this.put("memberName", null);return this;};
	/** not .... */
	this.memberNameNot=function(){if(this.proxy)return this.getProxy().memberNameNot();this.put("memberNameNot", "not");return this;};
	this.memberNameNotNull=function(){if(this.proxy)return this.getProxy().memberNameNotNull();this.put("memberNameNot", "not");this.put("memberName", null);return this;};
	this.memberNameNot=function(memberName){if(this.proxy)return this.getProxy().memberNameNot(memberName);this.put("memberNameNot", "not");this.put("memberName", memberName);return this;};
		
		 
	
	
	/** 会员信息 [非空] [Member]      **/
	this.member=function(member){if(this.proxy)return this.getProxy().member(member);  this.put("member", member);return this;};
	/** and member is null */
	this.memberNull=function(){if(this.proxy)return this.getProxy().memberNull();if(this.get("memberNot")==null)this.put("memberNot", "");this.put("member", null);return this;};
	/** not .... */
	this.memberNot=function(){if(this.proxy)return this.getProxy().memberNot();this.put("memberNot", "not");return this;};
	this.memberNotNull=function(){if(this.proxy)return this.getProxy().memberNotNull();this.put("memberNot", "not");this.put("member", null);return this;};
	this.memberNot=function(member){if(this.proxy)return this.getProxy().memberNot(member);this.put("memberNot", "not");this.put("member", member);return this;};
		
		
	this.memberIn=function(ids){
		if(this.proxy)return this.getProxy().memberIn(ids);  this.put("memberIn", ids);return this;
	};	
		 
	
	
	
	/** 备注信息        **/
	this.remarks=function(remarks){if(this.proxy)return this.getProxy().remarks(remarks);  this.put("remarks", remarks);return this;};
	/** and remarks is null */
	this.remarksNull=function(){if(this.proxy)return this.getProxy().remarksNull();if(this.get("remarksNot")==null)this.put("remarksNot", "");this.put("remarks", null);return this;};
	/** not .... */
	this.remarksNot=function(){if(this.proxy)return this.getProxy().remarksNot();this.put("remarksNot", "not");return this;};
	this.remarksNotNull=function(){if(this.proxy)return this.getProxy().remarksNotNull();this.put("remarksNot", "not");this.put("remarks", null);return this;};
	this.remarksNot=function(remarks){if(this.proxy)return this.getProxy().remarksNot(remarks);this.put("remarksNot", "not");this.put("remarks", remarks);return this;};
		
		 
	
	
	/** 物流方式    shunfeng:顺丰 shentong:申通 yuantong:圆通 zhongtong:中通 huitongkuaidi:百世汇通 baishiwuliu:百世物流 yunda:韵达 zhaijisong:宅急送 tiantian:天天 debangwuliu:德邦 guotongkuaidi:国通 zengyisudi:增益 suer:速尔 ztky:中铁物流 zhongtiewuliu:中铁快运 ganzhongnengda:能达 youshuwuliu:优速 quanfengkuaidi:全峰 jd:京东 youzhengguonei:邮政包裹/平邮 youzhengguoji:国际包裹 ems:EMS emsguoji:EMS-国际件     **/
	this.logisMode=function(logisMode){if(this.proxy)return this.getProxy().logisMode(logisMode);  this.put("logisMode", logisMode);return this;};
	/** and logis_mode is null */
	this.logisModeNull=function(){if(this.proxy)return this.getProxy().logisModeNull();if(this.get("logisModeNot")==null)this.put("logisModeNot", "");this.put("logisMode", null);return this;};
	/** not .... */
	this.logisModeNot=function(){if(this.proxy)return this.getProxy().logisModeNot();this.put("logisModeNot", "not");return this;};
	this.logisModeNotNull=function(){if(this.proxy)return this.getProxy().logisModeNotNull();this.put("logisModeNot", "not");this.put("logisMode", null);return this;};
	this.logisModeNot=function(logisMode){if(this.proxy)return this.getProxy().logisModeNot(logisMode);this.put("logisModeNot", "not");this.put("logisMode", logisMode);return this;};
		
		 
	
	
	/** 送货地址        **/
	this.address=function(address){if(this.proxy)return this.getProxy().address(address);  this.put("address", address);return this;};
	/** and address is null */
	this.addressNull=function(){if(this.proxy)return this.getProxy().addressNull();if(this.get("addressNot")==null)this.put("addressNot", "");this.put("address", null);return this;};
	/** not .... */
	this.addressNot=function(){if(this.proxy)return this.getProxy().addressNot();this.put("addressNot", "not");return this;};
	this.addressNotNull=function(){if(this.proxy)return this.getProxy().addressNotNull();this.put("addressNot", "not");this.put("address", null);return this;};
	this.addressNot=function(address){if(this.proxy)return this.getProxy().addressNot(address);this.put("addressNot", "not");this.put("address", address);return this;};
		
		 
	
	
	/** 地址编号        **/
	this.street=function(street){if(this.proxy)return this.getProxy().street(street);  this.put("street", street);return this;};
	/** and street is null */
	this.streetNull=function(){if(this.proxy)return this.getProxy().streetNull();if(this.get("streetNot")==null)this.put("streetNot", "");this.put("street", null);return this;};
	/** not .... */
	this.streetNot=function(){if(this.proxy)return this.getProxy().streetNot();this.put("streetNot", "not");return this;};
	this.streetNotNull=function(){if(this.proxy)return this.getProxy().streetNotNull();this.put("streetNot", "not");this.put("street", null);return this;};
	this.streetNot=function(street){if(this.proxy)return this.getProxy().streetNot(street);this.put("streetNot", "not");this.put("street", street);return this;};
		
	/** and street <= ? */
	this.streetMin=function(min){if(this.proxy)return this.getProxy().streetMin(min);this.put("streetMin", min);return this;};
	/** and street >= ? */
	this.streetMax=function(max){if(this.proxy)return this.getProxy().streetMax(max);this.put("streetMax", max);return this;};
		
		
	this.streetIn=function(ids){
		if(this.proxy)return this.getProxy().streetIn(ids);  this.put("streetIn", ids);return this;
	};	
		 
	
	
	/** 经度        **/
	this.longitude=function(longitude){if(this.proxy)return this.getProxy().longitude(longitude);  this.put("longitude", longitude);return this;};
	/** and longitude is null */
	this.longitudeNull=function(){if(this.proxy)return this.getProxy().longitudeNull();if(this.get("longitudeNot")==null)this.put("longitudeNot", "");this.put("longitude", null);return this;};
	/** not .... */
	this.longitudeNot=function(){if(this.proxy)return this.getProxy().longitudeNot();this.put("longitudeNot", "not");return this;};
	this.longitudeNotNull=function(){if(this.proxy)return this.getProxy().longitudeNotNull();this.put("longitudeNot", "not");this.put("longitude", null);return this;};
	this.longitudeNot=function(longitude){if(this.proxy)return this.getProxy().longitudeNot(longitude);this.put("longitudeNot", "not");this.put("longitude", longitude);return this;};
		
		 
	
	
	/** 纬度        **/
	this.latitude=function(latitude){if(this.proxy)return this.getProxy().latitude(latitude);  this.put("latitude", latitude);return this;};
	/** and latitude is null */
	this.latitudeNull=function(){if(this.proxy)return this.getProxy().latitudeNull();if(this.get("latitudeNot")==null)this.put("latitudeNot", "");this.put("latitude", null);return this;};
	/** not .... */
	this.latitudeNot=function(){if(this.proxy)return this.getProxy().latitudeNot();this.put("latitudeNot", "not");return this;};
	this.latitudeNotNull=function(){if(this.proxy)return this.getProxy().latitudeNotNull();this.put("latitudeNot", "not");this.put("latitude", null);return this;};
	this.latitudeNot=function(latitude){if(this.proxy)return this.getProxy().latitudeNot(latitude);this.put("latitudeNot", "not");this.put("latitude", latitude);return this;};
		
		 
	
	
	/** 所属地区  [Region]      **/
	this.regionCity=function(regionCity){if(this.proxy)return this.getProxy().regionCity(regionCity);  this.put("regionCity", regionCity);return this;};
	/** and region_city is null */
	this.regionCityNull=function(){if(this.proxy)return this.getProxy().regionCityNull();if(this.get("regionCityNot")==null)this.put("regionCityNot", "");this.put("regionCity", null);return this;};
	/** not .... */
	this.regionCityNot=function(){if(this.proxy)return this.getProxy().regionCityNot();this.put("regionCityNot", "not");return this;};
	this.regionCityNotNull=function(){if(this.proxy)return this.getProxy().regionCityNotNull();this.put("regionCityNot", "not");this.put("regionCity", null);return this;};
	this.regionCityNot=function(regionCity){if(this.proxy)return this.getProxy().regionCityNot(regionCity);this.put("regionCityNot", "not");this.put("regionCity", regionCity);return this;};
		
		
	this.regionCityIn=function(ids){
		if(this.proxy)return this.getProxy().regionCityIn(ids);  this.put("regionCityIn", ids);return this;
	};	
		 
	
	
	/** 收货人姓名        **/
	this.consigneeName=function(consigneeName){if(this.proxy)return this.getProxy().consigneeName(consigneeName);  this.put("consigneeName", consigneeName);return this;};
	/** and consignee_name is null */
	this.consigneeNameNull=function(){if(this.proxy)return this.getProxy().consigneeNameNull();if(this.get("consigneeNameNot")==null)this.put("consigneeNameNot", "");this.put("consigneeName", null);return this;};
	/** not .... */
	this.consigneeNameNot=function(){if(this.proxy)return this.getProxy().consigneeNameNot();this.put("consigneeNameNot", "not");return this;};
	this.consigneeNameNotNull=function(){if(this.proxy)return this.getProxy().consigneeNameNotNull();this.put("consigneeNameNot", "not");this.put("consigneeName", null);return this;};
	this.consigneeNameNot=function(consigneeName){if(this.proxy)return this.getProxy().consigneeNameNot(consigneeName);this.put("consigneeNameNot", "not");this.put("consigneeName", consigneeName);return this;};
		
		 
	
	
	/** 收货电话号        **/
	this.receivingTelephoneNumber=function(receivingTelephoneNumber){if(this.proxy)return this.getProxy().receivingTelephoneNumber(receivingTelephoneNumber);  this.put("receivingTelephoneNumber", receivingTelephoneNumber);return this;};
	/** and receiving_telephone_number is null */
	this.receivingTelephoneNumberNull=function(){if(this.proxy)return this.getProxy().receivingTelephoneNumberNull();if(this.get("receivingTelephoneNumberNot")==null)this.put("receivingTelephoneNumberNot", "");this.put("receivingTelephoneNumber", null);return this;};
	/** not .... */
	this.receivingTelephoneNumberNot=function(){if(this.proxy)return this.getProxy().receivingTelephoneNumberNot();this.put("receivingTelephoneNumberNot", "not");return this;};
	this.receivingTelephoneNumberNotNull=function(){if(this.proxy)return this.getProxy().receivingTelephoneNumberNotNull();this.put("receivingTelephoneNumberNot", "not");this.put("receivingTelephoneNumber", null);return this;};
	this.receivingTelephoneNumberNot=function(receivingTelephoneNumber){if(this.proxy)return this.getProxy().receivingTelephoneNumberNot(receivingTelephoneNumber);this.put("receivingTelephoneNumberNot", "not");this.put("receivingTelephoneNumber", receivingTelephoneNumber);return this;};
		
		 
	
	
	/** 性别    1:男 2:女     **/
	this.gender=function(gender){if(this.proxy)return this.getProxy().gender(gender);  this.put("gender", gender);return this;};
	/** and gender is null */
	this.genderNull=function(){if(this.proxy)return this.getProxy().genderNull();if(this.get("genderNot")==null)this.put("genderNot", "");this.put("gender", null);return this;};
	/** not .... */
	this.genderNot=function(){if(this.proxy)return this.getProxy().genderNot();this.put("genderNot", "not");return this;};
	this.genderNotNull=function(){if(this.proxy)return this.getProxy().genderNotNull();this.put("genderNot", "not");this.put("gender", null);return this;};
	this.genderNot=function(gender){if(this.proxy)return this.getProxy().genderNot(gender);this.put("genderNot", "not");this.put("gender", gender);return this;};
		
		
	this.genderIn=function(ids){
		if(this.proxy)return this.getProxy().genderIn(ids);  this.put("genderIn", ids);return this;
	};	
		 
	
	
	/** 快递单号        **/
	this.courier=function(courier){if(this.proxy)return this.getProxy().courier(courier);  this.put("courier", courier);return this;};
	/** and courier is null */
	this.courierNull=function(){if(this.proxy)return this.getProxy().courierNull();if(this.get("courierNot")==null)this.put("courierNot", "");this.put("courier", null);return this;};
	/** not .... */
	this.courierNot=function(){if(this.proxy)return this.getProxy().courierNot();this.put("courierNot", "not");return this;};
	this.courierNotNull=function(){if(this.proxy)return this.getProxy().courierNotNull();this.put("courierNot", "not");this.put("courier", null);return this;};
	this.courierNot=function(courier){if(this.proxy)return this.getProxy().courierNot(courier);this.put("courierNot", "not");this.put("courier", courier);return this;};
		
		 
	
	
	/** 配送方式    1:到店自提 2:送货上门     **/
	this.distributionMode=function(distributionMode){if(this.proxy)return this.getProxy().distributionMode(distributionMode);  this.put("distributionMode", distributionMode);return this;};
	/** and distribution_mode is null */
	this.distributionModeNull=function(){if(this.proxy)return this.getProxy().distributionModeNull();if(this.get("distributionModeNot")==null)this.put("distributionModeNot", "");this.put("distributionMode", null);return this;};
	/** not .... */
	this.distributionModeNot=function(){if(this.proxy)return this.getProxy().distributionModeNot();this.put("distributionModeNot", "not");return this;};
	this.distributionModeNotNull=function(){if(this.proxy)return this.getProxy().distributionModeNotNull();this.put("distributionModeNot", "not");this.put("distributionMode", null);return this;};
	this.distributionModeNot=function(distributionMode){if(this.proxy)return this.getProxy().distributionModeNot(distributionMode);this.put("distributionModeNot", "not");this.put("distributionMode", distributionMode);return this;};
		
		
	this.distributionModeIn=function(ids){
		if(this.proxy)return this.getProxy().distributionModeIn(ids);  this.put("distributionModeIn", ids);return this;
	};	
		 
	
	
	/** 配送商名称        **/
	this.distributorName=function(distributorName){if(this.proxy)return this.getProxy().distributorName(distributorName);  this.put("distributorName", distributorName);return this;};
	/** and distributor_name is null */
	this.distributorNameNull=function(){if(this.proxy)return this.getProxy().distributorNameNull();if(this.get("distributorNameNot")==null)this.put("distributorNameNot", "");this.put("distributorName", null);return this;};
	/** not .... */
	this.distributorNameNot=function(){if(this.proxy)return this.getProxy().distributorNameNot();this.put("distributorNameNot", "not");return this;};
	this.distributorNameNotNull=function(){if(this.proxy)return this.getProxy().distributorNameNotNull();this.put("distributorNameNot", "not");this.put("distributorName", null);return this;};
	this.distributorNameNot=function(distributorName){if(this.proxy)return this.getProxy().distributorNameNot(distributorName);this.put("distributorNameNot", "not");this.put("distributorName", distributorName);return this;};
		
		 
	
	
	/** 配送商  [Distributor]      **/
	this.distributor=function(distributor){if(this.proxy)return this.getProxy().distributor(distributor);  this.put("distributor", distributor);return this;};
	/** and distributor is null */
	this.distributorNull=function(){if(this.proxy)return this.getProxy().distributorNull();if(this.get("distributorNot")==null)this.put("distributorNot", "");this.put("distributor", null);return this;};
	/** not .... */
	this.distributorNot=function(){if(this.proxy)return this.getProxy().distributorNot();this.put("distributorNot", "not");return this;};
	this.distributorNotNull=function(){if(this.proxy)return this.getProxy().distributorNotNull();this.put("distributorNot", "not");this.put("distributor", null);return this;};
	this.distributorNot=function(distributor){if(this.proxy)return this.getProxy().distributorNot(distributor);this.put("distributorNot", "not");this.put("distributor", distributor);return this;};
		
		
	this.distributorIn=function(ids){
		if(this.proxy)return this.getProxy().distributorIn(ids);  this.put("distributorIn", ids);return this;
	};	
		 
	
	
	/** 配送商收益        **/
	this.distributorIncome=function(distributorIncome){if(this.proxy)return this.getProxy().distributorIncome(distributorIncome);  this.put("distributorIncome", distributorIncome);return this;};
	/** and distributor_income is null */
	this.distributorIncomeNull=function(){if(this.proxy)return this.getProxy().distributorIncomeNull();if(this.get("distributorIncomeNot")==null)this.put("distributorIncomeNot", "");this.put("distributorIncome", null);return this;};
	/** not .... */
	this.distributorIncomeNot=function(){if(this.proxy)return this.getProxy().distributorIncomeNot();this.put("distributorIncomeNot", "not");return this;};
	this.distributorIncomeNotNull=function(){if(this.proxy)return this.getProxy().distributorIncomeNotNull();this.put("distributorIncomeNot", "not");this.put("distributorIncome", null);return this;};
	this.distributorIncomeNot=function(distributorIncome){if(this.proxy)return this.getProxy().distributorIncomeNot(distributorIncome);this.put("distributorIncomeNot", "not");this.put("distributorIncome", distributorIncome);return this;};
		
	/** and distributor_income <= ? */
	this.distributorIncomeMin=function(min){if(this.proxy)return this.getProxy().distributorIncomeMin(min);this.put("distributorIncomeMin", min);return this;};
	/** and distributor_income >= ? */
	this.distributorIncomeMax=function(max){if(this.proxy)return this.getProxy().distributorIncomeMax(max);this.put("distributorIncomeMax", max);return this;};
		
		 
	
	
	/** 接单类型    1:配送商接单 2:退回品牌总部 3:暂不可接单     **/
	this.sType=function(sType){if(this.proxy)return this.getProxy().sType(sType);  this.put("sType", sType);return this;};
	/** and s_type is null */
	this.sTypeNull=function(){if(this.proxy)return this.getProxy().sTypeNull();if(this.get("sTypeNot")==null)this.put("sTypeNot", "");this.put("sType", null);return this;};
	/** not .... */
	this.sTypeNot=function(){if(this.proxy)return this.getProxy().sTypeNot();this.put("sTypeNot", "not");return this;};
	this.sTypeNotNull=function(){if(this.proxy)return this.getProxy().sTypeNotNull();this.put("sTypeNot", "not");this.put("sType", null);return this;};
	this.sTypeNot=function(sType){if(this.proxy)return this.getProxy().sTypeNot(sType);this.put("sTypeNot", "not");this.put("sType", sType);return this;};
		
		
	this.sTypeIn=function(ids){
		if(this.proxy)return this.getProxy().sTypeIn(ids);  this.put("sTypeIn", ids);return this;
	};	
		 
	
	
	/** 自提地址        **/
	this.selfAddress=function(selfAddress){if(this.proxy)return this.getProxy().selfAddress(selfAddress);  this.put("selfAddress", selfAddress);return this;};
	/** and self_address is null */
	this.selfAddressNull=function(){if(this.proxy)return this.getProxy().selfAddressNull();if(this.get("selfAddressNot")==null)this.put("selfAddressNot", "");this.put("selfAddress", null);return this;};
	/** not .... */
	this.selfAddressNot=function(){if(this.proxy)return this.getProxy().selfAddressNot();this.put("selfAddressNot", "not");return this;};
	this.selfAddressNotNull=function(){if(this.proxy)return this.getProxy().selfAddressNotNull();this.put("selfAddressNot", "not");this.put("selfAddress", null);return this;};
	this.selfAddressNot=function(selfAddress){if(this.proxy)return this.getProxy().selfAddressNot(selfAddress);this.put("selfAddressNot", "not");this.put("selfAddress", selfAddress);return this;};
		
		 
	
	
	/** 配送费        **/
	this.dispatFee=function(dispatFee){if(this.proxy)return this.getProxy().dispatFee(dispatFee);  this.put("dispatFee", dispatFee);return this;};
	/** and dispat_fee is null */
	this.dispatFeeNull=function(){if(this.proxy)return this.getProxy().dispatFeeNull();if(this.get("dispatFeeNot")==null)this.put("dispatFeeNot", "");this.put("dispatFee", null);return this;};
	/** not .... */
	this.dispatFeeNot=function(){if(this.proxy)return this.getProxy().dispatFeeNot();this.put("dispatFeeNot", "not");return this;};
	this.dispatFeeNotNull=function(){if(this.proxy)return this.getProxy().dispatFeeNotNull();this.put("dispatFeeNot", "not");this.put("dispatFee", null);return this;};
	this.dispatFeeNot=function(dispatFee){if(this.proxy)return this.getProxy().dispatFeeNot(dispatFee);this.put("dispatFeeNot", "not");this.put("dispatFee", dispatFee);return this;};
		
	/** and dispat_fee <= ? */
	this.dispatFeeMin=function(min){if(this.proxy)return this.getProxy().dispatFeeMin(min);this.put("dispatFeeMin", min);return this;};
	/** and dispat_fee >= ? */
	this.dispatFeeMax=function(max){if(this.proxy)return this.getProxy().dispatFeeMax(max);this.put("dispatFeeMax", max);return this;};
		
		 
	
	
	/** 使用优惠券  [Coupon]      **/
	this.coupon=function(coupon){if(this.proxy)return this.getProxy().coupon(coupon);  this.put("coupon", coupon);return this;};
	/** and coupon is null */
	this.couponNull=function(){if(this.proxy)return this.getProxy().couponNull();if(this.get("couponNot")==null)this.put("couponNot", "");this.put("coupon", null);return this;};
	/** not .... */
	this.couponNot=function(){if(this.proxy)return this.getProxy().couponNot();this.put("couponNot", "not");return this;};
	this.couponNotNull=function(){if(this.proxy)return this.getProxy().couponNotNull();this.put("couponNot", "not");this.put("coupon", null);return this;};
	this.couponNot=function(coupon){if(this.proxy)return this.getProxy().couponNot(coupon);this.put("couponNot", "not");this.put("coupon", coupon);return this;};
		
		
	this.couponIn=function(ids){
		if(this.proxy)return this.getProxy().couponIn(ids);  this.put("couponIn", ids);return this;
	};	
		 
	
	
	/** 使用产品券        **/
	this.useProductVouchers=function(useProductVouchers){if(this.proxy)return this.getProxy().useProductVouchers(useProductVouchers);  this.put("useProductVouchers", useProductVouchers);return this;};
	/** and use_product_vouchers is null */
	this.useProductVouchersNull=function(){if(this.proxy)return this.getProxy().useProductVouchersNull();if(this.get("useProductVouchersNot")==null)this.put("useProductVouchersNot", "");this.put("useProductVouchers", null);return this;};
	/** not .... */
	this.useProductVouchersNot=function(){if(this.proxy)return this.getProxy().useProductVouchersNot();this.put("useProductVouchersNot", "not");return this;};
	this.useProductVouchersNotNull=function(){if(this.proxy)return this.getProxy().useProductVouchersNotNull();this.put("useProductVouchersNot", "not");this.put("useProductVouchers", null);return this;};
	this.useProductVouchersNot=function(useProductVouchers){if(this.proxy)return this.getProxy().useProductVouchersNot(useProductVouchers);this.put("useProductVouchersNot", "not");this.put("useProductVouchers", useProductVouchers);return this;};
		
		 
	
	
	/** 优惠卷抵扣        **/
	this.couponFree=function(couponFree){if(this.proxy)return this.getProxy().couponFree(couponFree);  this.put("couponFree", couponFree);return this;};
	/** and coupon_free is null */
	this.couponFreeNull=function(){if(this.proxy)return this.getProxy().couponFreeNull();if(this.get("couponFreeNot")==null)this.put("couponFreeNot", "");this.put("couponFree", null);return this;};
	/** not .... */
	this.couponFreeNot=function(){if(this.proxy)return this.getProxy().couponFreeNot();this.put("couponFreeNot", "not");return this;};
	this.couponFreeNotNull=function(){if(this.proxy)return this.getProxy().couponFreeNotNull();this.put("couponFreeNot", "not");this.put("couponFree", null);return this;};
	this.couponFreeNot=function(couponFree){if(this.proxy)return this.getProxy().couponFreeNot(couponFree);this.put("couponFreeNot", "not");this.put("couponFree", couponFree);return this;};
		
	/** and coupon_free <= ? */
	this.couponFreeMin=function(min){if(this.proxy)return this.getProxy().couponFreeMin(min);this.put("couponFreeMin", min);return this;};
	/** and coupon_free >= ? */
	this.couponFreeMax=function(max){if(this.proxy)return this.getProxy().couponFreeMax(max);this.put("couponFreeMax", max);return this;};
		
		 
	
	
	/** 产品卷抵扣        **/
	this.productFree=function(productFree){if(this.proxy)return this.getProxy().productFree(productFree);  this.put("productFree", productFree);return this;};
	/** and product_free is null */
	this.productFreeNull=function(){if(this.proxy)return this.getProxy().productFreeNull();if(this.get("productFreeNot")==null)this.put("productFreeNot", "");this.put("productFree", null);return this;};
	/** not .... */
	this.productFreeNot=function(){if(this.proxy)return this.getProxy().productFreeNot();this.put("productFreeNot", "not");return this;};
	this.productFreeNotNull=function(){if(this.proxy)return this.getProxy().productFreeNotNull();this.put("productFreeNot", "not");this.put("productFree", null);return this;};
	this.productFreeNot=function(productFree){if(this.proxy)return this.getProxy().productFreeNot(productFree);this.put("productFreeNot", "not");this.put("productFree", productFree);return this;};
		
	/** and product_free <= ? */
	this.productFreeMin=function(min){if(this.proxy)return this.getProxy().productFreeMin(min);this.put("productFreeMin", min);return this;};
	/** and product_free >= ? */
	this.productFreeMax=function(max){if(this.proxy)return this.getProxy().productFreeMax(max);this.put("productFreeMax", max);return this;};
		
		 
	
	
	/** 总金额        **/
	this.totalSum=function(totalSum){if(this.proxy)return this.getProxy().totalSum(totalSum);  this.put("totalSum", totalSum);return this;};
	/** and total_sum is null */
	this.totalSumNull=function(){if(this.proxy)return this.getProxy().totalSumNull();if(this.get("totalSumNot")==null)this.put("totalSumNot", "");this.put("totalSum", null);return this;};
	/** not .... */
	this.totalSumNot=function(){if(this.proxy)return this.getProxy().totalSumNot();this.put("totalSumNot", "not");return this;};
	this.totalSumNotNull=function(){if(this.proxy)return this.getProxy().totalSumNotNull();this.put("totalSumNot", "not");this.put("totalSum", null);return this;};
	this.totalSumNot=function(totalSum){if(this.proxy)return this.getProxy().totalSumNot(totalSum);this.put("totalSumNot", "not");this.put("totalSum", totalSum);return this;};
		
	/** and total_sum <= ? */
	this.totalSumMin=function(min){if(this.proxy)return this.getProxy().totalSumMin(min);this.put("totalSumMin", min);return this;};
	/** and total_sum >= ? */
	this.totalSumMax=function(max){if(this.proxy)return this.getProxy().totalSumMax(max);this.put("totalSumMax", max);return this;};
		
		 
	
	
	/** 实际支付        **/
	this.actualPay=function(actualPay){if(this.proxy)return this.getProxy().actualPay(actualPay);  this.put("actualPay", actualPay);return this;};
	/** and actual_pay is null */
	this.actualPayNull=function(){if(this.proxy)return this.getProxy().actualPayNull();if(this.get("actualPayNot")==null)this.put("actualPayNot", "");this.put("actualPay", null);return this;};
	/** not .... */
	this.actualPayNot=function(){if(this.proxy)return this.getProxy().actualPayNot();this.put("actualPayNot", "not");return this;};
	this.actualPayNotNull=function(){if(this.proxy)return this.getProxy().actualPayNotNull();this.put("actualPayNot", "not");this.put("actualPay", null);return this;};
	this.actualPayNot=function(actualPay){if(this.proxy)return this.getProxy().actualPayNot(actualPay);this.put("actualPayNot", "not");this.put("actualPay", actualPay);return this;};
		
	/** and actual_pay <= ? */
	this.actualPayMin=function(min){if(this.proxy)return this.getProxy().actualPayMin(min);this.put("actualPayMin", min);return this;};
	/** and actual_pay >= ? */
	this.actualPayMax=function(max){if(this.proxy)return this.getProxy().actualPayMax(max);this.put("actualPayMax", max);return this;};
		
		 
	
	
	/** 支付情况    0:未支付 1:已支付     **/
	this.paysStatus=function(paysStatus){if(this.proxy)return this.getProxy().paysStatus(paysStatus);  this.put("paysStatus", paysStatus);return this;};
	/** and pays_status is null */
	this.paysStatusNull=function(){if(this.proxy)return this.getProxy().paysStatusNull();if(this.get("paysStatusNot")==null)this.put("paysStatusNot", "");this.put("paysStatus", null);return this;};
	/** not .... */
	this.paysStatusNot=function(){if(this.proxy)return this.getProxy().paysStatusNot();this.put("paysStatusNot", "not");return this;};
	this.paysStatusNotNull=function(){if(this.proxy)return this.getProxy().paysStatusNotNull();this.put("paysStatusNot", "not");this.put("paysStatus", null);return this;};
	this.paysStatusNot=function(paysStatus){if(this.proxy)return this.getProxy().paysStatusNot(paysStatus);this.put("paysStatusNot", "not");this.put("paysStatus", paysStatus);return this;};
		
		
	this.paysStatusIn=function(ids){
		if(this.proxy)return this.getProxy().paysStatusIn(ids);  this.put("paysStatusIn", ids);return this;
	};	
		 
	
	
	/** 支付协议    1:同意 2:不同意     **/
	this.agreement=function(agreement){if(this.proxy)return this.getProxy().agreement(agreement);  this.put("agreement", agreement);return this;};
	/** and agreement is null */
	this.agreementNull=function(){if(this.proxy)return this.getProxy().agreementNull();if(this.get("agreementNot")==null)this.put("agreementNot", "");this.put("agreement", null);return this;};
	/** not .... */
	this.agreementNot=function(){if(this.proxy)return this.getProxy().agreementNot();this.put("agreementNot", "not");return this;};
	this.agreementNotNull=function(){if(this.proxy)return this.getProxy().agreementNotNull();this.put("agreementNot", "not");this.put("agreement", null);return this;};
	this.agreementNot=function(agreement){if(this.proxy)return this.getProxy().agreementNot(agreement);this.put("agreementNot", "not");this.put("agreement", agreement);return this;};
		
		
	this.agreementIn=function(ids){
		if(this.proxy)return this.getProxy().agreementIn(ids);  this.put("agreementIn", ids);return this;
	};	
		 
	
	
	/** 实际处理方    1:待确定 2:品牌总部 3:配送商     **/
	this.processor=function(processor){if(this.proxy)return this.getProxy().processor(processor);  this.put("processor", processor);return this;};
	/** and processor is null */
	this.processorNull=function(){if(this.proxy)return this.getProxy().processorNull();if(this.get("processorNot")==null)this.put("processorNot", "");this.put("processor", null);return this;};
	/** not .... */
	this.processorNot=function(){if(this.proxy)return this.getProxy().processorNot();this.put("processorNot", "not");return this;};
	this.processorNotNull=function(){if(this.proxy)return this.getProxy().processorNotNull();this.put("processorNot", "not");this.put("processor", null);return this;};
	this.processorNot=function(processor){if(this.proxy)return this.getProxy().processorNot(processor);this.put("processorNot", "not");this.put("processor", processor);return this;};
		
		
	this.processorIn=function(ids){
		if(this.proxy)return this.getProxy().processorIn(ids);  this.put("processorIn", ids);return this;
	};	
		 
	
	
	/** 售后类型    0:暂无 1:投诉 2:退款     **/
	this.afterSType=function(afterSType){if(this.proxy)return this.getProxy().afterSType(afterSType);  this.put("afterSType", afterSType);return this;};
	/** and after_s_type is null */
	this.afterSTypeNull=function(){if(this.proxy)return this.getProxy().afterSTypeNull();if(this.get("afterSTypeNot")==null)this.put("afterSTypeNot", "");this.put("afterSType", null);return this;};
	/** not .... */
	this.afterSTypeNot=function(){if(this.proxy)return this.getProxy().afterSTypeNot();this.put("afterSTypeNot", "not");return this;};
	this.afterSTypeNotNull=function(){if(this.proxy)return this.getProxy().afterSTypeNotNull();this.put("afterSTypeNot", "not");this.put("afterSType", null);return this;};
	this.afterSTypeNot=function(afterSType){if(this.proxy)return this.getProxy().afterSTypeNot(afterSType);this.put("afterSTypeNot", "not");this.put("afterSType", afterSType);return this;};
		
		
	this.afterSTypeIn=function(ids){
		if(this.proxy)return this.getProxy().afterSTypeIn(ids);  this.put("afterSTypeIn", ids);return this;
	};	
		 
	
	
	/** 投诉理由        **/
	this.complaint=function(complaint){if(this.proxy)return this.getProxy().complaint(complaint);  this.put("complaint", complaint);return this;};
	/** and complaint is null */
	this.complaintNull=function(){if(this.proxy)return this.getProxy().complaintNull();if(this.get("complaintNot")==null)this.put("complaintNot", "");this.put("complaint", null);return this;};
	/** not .... */
	this.complaintNot=function(){if(this.proxy)return this.getProxy().complaintNot();this.put("complaintNot", "not");return this;};
	this.complaintNotNull=function(){if(this.proxy)return this.getProxy().complaintNotNull();this.put("complaintNot", "not");this.put("complaint", null);return this;};
	this.complaintNot=function(complaint){if(this.proxy)return this.getProxy().complaintNot(complaint);this.put("complaintNot", "not");this.put("complaint", complaint);return this;};
		
		 
	
	
	/** 投诉是处理    0:无投诉 1:未处理 2:已处理     **/
	this.dealted=function(dealted){if(this.proxy)return this.getProxy().dealted(dealted);  this.put("dealted", dealted);return this;};
	/** and dealted is null */
	this.dealtedNull=function(){if(this.proxy)return this.getProxy().dealtedNull();if(this.get("dealtedNot")==null)this.put("dealtedNot", "");this.put("dealted", null);return this;};
	/** not .... */
	this.dealtedNot=function(){if(this.proxy)return this.getProxy().dealtedNot();this.put("dealtedNot", "not");return this;};
	this.dealtedNotNull=function(){if(this.proxy)return this.getProxy().dealtedNotNull();this.put("dealtedNot", "not");this.put("dealted", null);return this;};
	this.dealtedNot=function(dealted){if(this.proxy)return this.getProxy().dealtedNot(dealted);this.put("dealtedNot", "not");this.put("dealted", dealted);return this;};
		
		
	this.dealtedIn=function(ids){
		if(this.proxy)return this.getProxy().dealtedIn(ids);  this.put("dealtedIn", ids);return this;
	};	
		 
	
	
	/** 退款状态    0:无 1:待审核 2:同意退款 3:拒绝退款 4:已退款     **/
	this.refundStatus=function(refundStatus){if(this.proxy)return this.getProxy().refundStatus(refundStatus);  this.put("refundStatus", refundStatus);return this;};
	/** and refund_status is null */
	this.refundStatusNull=function(){if(this.proxy)return this.getProxy().refundStatusNull();if(this.get("refundStatusNot")==null)this.put("refundStatusNot", "");this.put("refundStatus", null);return this;};
	/** not .... */
	this.refundStatusNot=function(){if(this.proxy)return this.getProxy().refundStatusNot();this.put("refundStatusNot", "not");return this;};
	this.refundStatusNotNull=function(){if(this.proxy)return this.getProxy().refundStatusNotNull();this.put("refundStatusNot", "not");this.put("refundStatus", null);return this;};
	this.refundStatusNot=function(refundStatus){if(this.proxy)return this.getProxy().refundStatusNot(refundStatus);this.put("refundStatusNot", "not");this.put("refundStatus", refundStatus);return this;};
		
		
	this.refundStatusIn=function(ids){
		if(this.proxy)return this.getProxy().refundStatusIn(ids);  this.put("refundStatusIn", ids);return this;
	};	
		 
	
	
	/** 拒绝退款理由        **/
	this.refuseRefund=function(refuseRefund){if(this.proxy)return this.getProxy().refuseRefund(refuseRefund);  this.put("refuseRefund", refuseRefund);return this;};
	/** and refuse_refund is null */
	this.refuseRefundNull=function(){if(this.proxy)return this.getProxy().refuseRefundNull();if(this.get("refuseRefundNot")==null)this.put("refuseRefundNot", "");this.put("refuseRefund", null);return this;};
	/** not .... */
	this.refuseRefundNot=function(){if(this.proxy)return this.getProxy().refuseRefundNot();this.put("refuseRefundNot", "not");return this;};
	this.refuseRefundNotNull=function(){if(this.proxy)return this.getProxy().refuseRefundNotNull();this.put("refuseRefundNot", "not");this.put("refuseRefund", null);return this;};
	this.refuseRefundNot=function(refuseRefund){if(this.proxy)return this.getProxy().refuseRefundNot(refuseRefund);this.put("refuseRefundNot", "not");this.put("refuseRefund", refuseRefund);return this;};
		
		 
	
	
	/** 会员退款理由        **/
	this.meRefundMoney=function(meRefundMoney){if(this.proxy)return this.getProxy().meRefundMoney(meRefundMoney);  this.put("meRefundMoney", meRefundMoney);return this;};
	/** and me_refund_money is null */
	this.meRefundMoneyNull=function(){if(this.proxy)return this.getProxy().meRefundMoneyNull();if(this.get("meRefundMoneyNot")==null)this.put("meRefundMoneyNot", "");this.put("meRefundMoney", null);return this;};
	/** not .... */
	this.meRefundMoneyNot=function(){if(this.proxy)return this.getProxy().meRefundMoneyNot();this.put("meRefundMoneyNot", "not");return this;};
	this.meRefundMoneyNotNull=function(){if(this.proxy)return this.getProxy().meRefundMoneyNotNull();this.put("meRefundMoneyNot", "not");this.put("meRefundMoney", null);return this;};
	this.meRefundMoneyNot=function(meRefundMoney){if(this.proxy)return this.getProxy().meRefundMoneyNot(meRefundMoney);this.put("meRefundMoneyNot", "not");this.put("meRefundMoney", meRefundMoney);return this;};
		
		 
	
	
	/** formId        **/
	this.directoFormid=function(directoFormid){if(this.proxy)return this.getProxy().directoFormid(directoFormid);  this.put("directoFormid", directoFormid);return this;};
	/** and directo_formid is null */
	this.directoFormidNull=function(){if(this.proxy)return this.getProxy().directoFormidNull();if(this.get("directoFormidNot")==null)this.put("directoFormidNot", "");this.put("directoFormid", null);return this;};
	/** not .... */
	this.directoFormidNot=function(){if(this.proxy)return this.getProxy().directoFormidNot();this.put("directoFormidNot", "not");return this;};
	this.directoFormidNotNull=function(){if(this.proxy)return this.getProxy().directoFormidNotNull();this.put("directoFormidNot", "not");this.put("directoFormid", null);return this;};
	this.directoFormidNot=function(directoFormid){if(this.proxy)return this.getProxy().directoFormidNot(directoFormid);this.put("directoFormidNot", "not");this.put("directoFormid", directoFormid);return this;};
		
		 
	
	
	/** 接单时间        **/
	this.getOrderTime=function(getOrderTime){if(this.proxy)return this.getProxy().getOrderTime(getOrderTime);  this.put("getOrderTime", getOrderTime);return this;};
	/** and get_order_time is null */
	this.getOrderTimeNull=function(){if(this.proxy)return this.getProxy().getOrderTimeNull();if(this.get("getOrderTimeNot")==null)this.put("getOrderTimeNot", "");this.put("getOrderTime", null);return this;};
	/** not .... */
	this.getOrderTimeNot=function(){if(this.proxy)return this.getProxy().getOrderTimeNot();this.put("getOrderTimeNot", "not");return this;};
	this.getOrderTimeNotNull=function(){if(this.proxy)return this.getProxy().getOrderTimeNotNull();this.put("getOrderTimeNot", "not");this.put("getOrderTime", null);return this;};
	this.getOrderTimeNot=function(getOrderTime){if(this.proxy)return this.getProxy().getOrderTimeNot(getOrderTime);this.put("getOrderTimeNot", "not");this.put("getOrderTime", getOrderTime);return this;};
		
	/** and get_order_time >= ? */
	this.getOrderTimeStart=function(start){if(this.proxy)return this.getProxy().getOrderTimeStart(start);this.put("getOrderTimeStart", start);return this;};			
	/** and get_order_time <= ? */
	this.getOrderTimeEnd=function(end){if(this.proxy)return this.getProxy().getOrderTimeEnd(end);this.put("getOrderTimeEnd", end);return this;};
		
		 
	
	
	/** 打款原因        **/
	this.erroLog=function(erroLog){if(this.proxy)return this.getProxy().erroLog(erroLog);  this.put("erroLog", erroLog);return this;};
	/** and erro_log is null */
	this.erroLogNull=function(){if(this.proxy)return this.getProxy().erroLogNull();if(this.get("erroLogNot")==null)this.put("erroLogNot", "");this.put("erroLog", null);return this;};
	/** not .... */
	this.erroLogNot=function(){if(this.proxy)return this.getProxy().erroLogNot();this.put("erroLogNot", "not");return this;};
	this.erroLogNotNull=function(){if(this.proxy)return this.getProxy().erroLogNotNull();this.put("erroLogNot", "not");this.put("erroLog", null);return this;};
	this.erroLogNot=function(erroLog){if(this.proxy)return this.getProxy().erroLogNot(erroLog);this.put("erroLogNot", "not");this.put("erroLog", erroLog);return this;};
		
		 
	
	
	/** 修改时间 [非空]       **/
	this.updateTime=function(updateTime){if(this.proxy)return this.getProxy().updateTime(updateTime);  this.put("updateTime", updateTime);return this;};
	/** and update_time is null */
	this.updateTimeNull=function(){if(this.proxy)return this.getProxy().updateTimeNull();if(this.get("updateTimeNot")==null)this.put("updateTimeNot", "");this.put("updateTime", null);return this;};
	/** not .... */
	this.updateTimeNot=function(){if(this.proxy)return this.getProxy().updateTimeNot();this.put("updateTimeNot", "not");return this;};
	this.updateTimeNotNull=function(){if(this.proxy)return this.getProxy().updateTimeNotNull();this.put("updateTimeNot", "not");this.put("updateTime", null);return this;};
	this.updateTimeNot=function(updateTime){if(this.proxy)return this.getProxy().updateTimeNot(updateTime);this.put("updateTimeNot", "not");this.put("updateTime", updateTime);return this;};
		
	/** and update_time >= ? */
	this.updateTimeStart=function(start){if(this.proxy)return this.getProxy().updateTimeStart(start);this.put("updateTimeStart", start);return this;};			
	/** and update_time <= ? */
	this.updateTimeEnd=function(end){if(this.proxy)return this.getProxy().updateTimeEnd(end);this.put("updateTimeEnd", end);return this;};
		
		 
	
	
	/** 添加时间 [非空]       **/
	this.addTime=function(addTime){if(this.proxy)return this.getProxy().addTime(addTime);  this.put("addTime", addTime);return this;};
	/** and add_time is null */
	this.addTimeNull=function(){if(this.proxy)return this.getProxy().addTimeNull();if(this.get("addTimeNot")==null)this.put("addTimeNot", "");this.put("addTime", null);return this;};
	/** not .... */
	this.addTimeNot=function(){if(this.proxy)return this.getProxy().addTimeNot();this.put("addTimeNot", "not");return this;};
	this.addTimeNotNull=function(){if(this.proxy)return this.getProxy().addTimeNotNull();this.put("addTimeNot", "not");this.put("addTime", null);return this;};
	this.addTimeNot=function(addTime){if(this.proxy)return this.getProxy().addTimeNot(addTime);this.put("addTimeNot", "not");this.put("addTime", addTime);return this;};
		
	/** and add_time >= ? */
	this.addTimeStart=function(start){if(this.proxy)return this.getProxy().addTimeStart(start);this.put("addTimeStart", start);return this;};			
	/** and add_time <= ? */
	this.addTimeEnd=function(end){if(this.proxy)return this.getProxy().addTimeEnd(end);this.put("addTimeEnd", end);return this;};
		
		 
	
	
	/** 状态 [非空]   1:待支付 2:待发货 3:待收货/自提 4:已收货 5:售后 6:已完成 7:已删除     **/
	this.status=function(status){if(this.proxy)return this.getProxy().status(status);  this.put("status", status);return this;};
	/** and status is null */
	this.statusNull=function(){if(this.proxy)return this.getProxy().statusNull();if(this.get("statusNot")==null)this.put("statusNot", "");this.put("status", null);return this;};
	/** not .... */
	this.statusNot=function(){if(this.proxy)return this.getProxy().statusNot();this.put("statusNot", "not");return this;};
	this.statusNotNull=function(){if(this.proxy)return this.getProxy().statusNotNull();this.put("statusNot", "not");this.put("status", null);return this;};
	this.statusNot=function(status){if(this.proxy)return this.getProxy().statusNot(status);this.put("statusNot", "not");this.put("status", status);return this;};
		
		
	this.statusIn=function(ids){
		if(this.proxy)return this.getProxy().statusIn(ids);  this.put("statusIn", ids);return this;
	};	
		 
	
	
	/** 抵消        **/
	this.dx=function(dx){if(this.proxy)return this.getProxy().dx(dx);  this.put("dx", dx);return this;};
	/** and dx is null */
	this.dxNull=function(){if(this.proxy)return this.getProxy().dxNull();if(this.get("dxNot")==null)this.put("dxNot", "");this.put("dx", null);return this;};
	/** not .... */
	this.dxNot=function(){if(this.proxy)return this.getProxy().dxNot();this.put("dxNot", "not");return this;};
	this.dxNotNull=function(){if(this.proxy)return this.getProxy().dxNotNull();this.put("dxNot", "not");this.put("dx", null);return this;};
	this.dxNot=function(dx){if(this.proxy)return this.getProxy().dxNot(dx);this.put("dxNot", "not");this.put("dx", dx);return this;};
		
	/** and dx <= ? */
	this.dxMin=function(min){if(this.proxy)return this.getProxy().dxMin(min);this.put("dxMin", min);return this;};
	/** and dx >= ? */
	this.dxMax=function(max){if(this.proxy)return this.getProxy().dxMax(max);this.put("dxMax", max);return this;};
		
		 
	
	
	
	this.add=function(key,value) {if(proxy)return proxy().add(key,value);this.put(key, value);return this;}
	this.desc=function(sql) {if(proxy)return proxy().desc(sql);this.put("desc", sql);return this;}
	this.asc=function(sql) {if(proxy)return proxy().asc(sql);this.put("asc", sql);return this;}
	this.definex=function(sql) {if(proxy)return proxy().definex(sql);this.put("definex", sql);return this;}
	
	/** 获取所有商品订单 **/
	this.list=function(size){
		this.data.size = size;
		var protocol = ux.ajax("/admin/goods/directorder.list.do",this.data);
		if(!protocol)return null;
		if(protocol.data && protocol.data.list)return protocol.data.list;
		return [];
	}
	/** 获取商品订单分页 **/
	this.page=function(page,size){
		this.data.size = size;
		this.data.page = page;
		var protocol = ux.ajax("/admin/goods/directorder.list.do",this.data);
		if(!protocol)return null;
		if(protocol.data)return data;
		return {list:[]};
	}
	/** 根据查询条件取商品订单 **/
	this.get=function(){
		this.data.size = 1;
		var protocol = ux.ajax("/admin/goods/directorder.list.do",this.data);
		if(!protocol)return null;
		if(protocol.data && protocol.data.list && protocol.data.list.length==1)return protocol.data.list[0]; 
		return null;
	}
}

DirectOrder.get = function(id){
	var protocol = ux.ajax("/admin/goods/directorder.get.do",{id:id});
	if(!protocol)return null;
	if(protocol.data)return protocol.data.directOrder;
	return null;
}

DirectOrder.where = new DirectOrder.Where(0,true);